package com.hmis.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hmis.domain.Prescription;
import com.hmis.mapper.PrescriptionMapper;
import com.hmis.service.PrescriptionService;
import org.springframework.stereotype.Service;

/**
 * @author Edward
 * @description 针对表【prescription(处方信息表)】的数据库操作Service实现
 * @createDate 2023-04-10 20:53:34
 */
@Service
public class PrescriptionServiceImpl extends ServiceImpl<PrescriptionMapper, Prescription>
        implements PrescriptionService {
    @Override
    public Prescription updatePrescriptionByPatientId(Prescription prescription) {
        this.updateById(prescription);
        return prescription;
    }
}




